package com.fire.control.system.module.middleware.service;

import com.fire.control.system.standard.BusinessInterfaceStandard;
import com.fire.control.system.support.protocol.comman.ResponseProtocol;
import com.fire.control.system.support.protocol.middleware.MiddleWareRequestProtocol;

/**
 * @author liuxincheng
 * @ClassName: IMiddleWareService
 * @Description: TODO(中间件服务)
 * @date 2017年6月21日 上午11:14:05
 */
public interface IMiddleWareService extends BusinessInterfaceStandard<MiddleWareRequestProtocol, ResponseProtocol> {

	/**
	 * @author  liuxincheng
	 * @Title: getMiddleWareList
	 * @Description: TODO(获得中间件列表)
	 * @param @param requestProtocol
	 * @param @param p
	 * @param @return    设定文件
	 * @return ResponseProtocol    返回类型
	 * @throws null 
	 */
	public ResponseProtocol getMiddleWareList(MiddleWareRequestProtocol requestProtocol); 
	
	/**
	 * @author  liuxincheng
	 * @Title: addMiddleWare
	 * @Description: TODO(添加中间件)
	 * @param @param requestProtocol
	 * @param @return    设定文件
	 * @return ResponseProtocol    返回类型
	 * @throws null  deleteMiddleWare
	 */
	public ResponseProtocol addMiddleWare(MiddleWareRequestProtocol requestProtocol);
	
	/**
	 * @author  liuxincheng
	 * @Title: deleteMiddleWare
	 * @Description: TODO(根据Id删除中间件)
	 * @param @param requestProtocol
	 * @param @return    设定文件
	 * @return ResponseProtocol    返回类型updateMiddleWare
	 * @throws null
	 */
	public ResponseProtocol deleteMiddleWare(MiddleWareRequestProtocol requestProtocol);
	
	/**
	 * @author  liuxincheng
	 * @Title: updateMiddleWare
	 * @Description: TODO(修改中间件信息)
	 * @param @param requestProtocol
	 * @param @return    设定文件
	 * @return ResponseProtocol    返回类型
	 * @throws null
	 */
	public ResponseProtocol updateMiddleWare(MiddleWareRequestProtocol requestProtocol);
}
